package com.taa.infrastructure.dao;

import com.taa.infrastructure.dao.po.Strategy;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: taa
 * @Desc: 策略Dao
 * @create: 2025-06-01 15:54
 **/
@Mapper
public interface IStrategyDao {

    int insert(Strategy strategy);
    int update(Strategy strategy);
    Strategy selectById(Long id);
    List<Strategy> selectActiveStrategies();
    List<Strategy> selectByProductId(Long productId);
    
}
